package cn.pzhu.controller.web;

import cn.pzhu.controller.BaseController;
import cn.pzhu.model.College;
import cn.pzhu.model.Expert;
import cn.pzhu.services.web.WebCollegeServices;
import cn.pzhu.services.web.WebExpertServices;

import java.util.List;

/**
 * Created by dongp on 2016/5/10.
 */
public class WebCollegeController extends BaseController {

	private WebCollegeServices collegeServices = new WebCollegeServices();

	public void queryCollege() {
		List<College>  collegeList = collegeServices.queryCollege(getRequest());
		setAttr("collegeList",collegeList);
		render("college/college.jsp");
	}
}
